package com.bestow.basic.mapper;

import java.util.List;
import com.bestow.basic.domain.HlsDocumentType;

/**
 * 租赁单据类型Mapper接口
 * 
 * @author liliu
 * @date 2022-09-02
 */
public interface HlsDocumentTypeMapper 
{
    /**
     * 查询租赁单据类型
     * 
     * @param documentType 租赁单据类型主键
     * @return 租赁单据类型
     */
    public HlsDocumentType selectHlsDocumentTypeByDocumentType(String documentType);

    /**
     * 查询租赁单据类型列表
     * 
     * @param hlsDocumentType 租赁单据类型
     * @return 租赁单据类型集合
     */
    public List<HlsDocumentType> selectHlsDocumentTypeList(HlsDocumentType hlsDocumentType);

    /**
     * 新增租赁单据类型
     * 
     * @param hlsDocumentType 租赁单据类型
     * @return 结果
     */
    public int insertHlsDocumentType(HlsDocumentType hlsDocumentType);

    /**
     * 修改租赁单据类型
     * 
     * @param hlsDocumentType 租赁单据类型
     * @return 结果
     */
    public int updateHlsDocumentType(HlsDocumentType hlsDocumentType);

    /**
     * 删除租赁单据类型
     * 
     * @param documentType 租赁单据类型主键
     * @return 结果
     */
    public int deleteHlsDocumentTypeByDocumentType(String documentType);

    /**
     * 批量删除租赁单据类型
     * 
     * @param documentTypes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHlsDocumentTypeByDocumentTypes(String[] documentTypes);
}
